Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cgen: fix #19407 #19423

Merged
merged 10 commits into from
Sep 26, 2023
Merged

cgen: fix #19407 #19423

merged 10 commits into from
Sep 26, 2023

Conversation

lv37
Copy link
Contributor

@lv37 lv37 commented Sep 23, 2023

fix #19407

🤖 Generated by Copilot at 38a136e

Fix a sumtype casting bug in cgen.v by using the correct symbol index. This improves the reliability and correctness of the code generation for sumtypes.

🤖 Generated by Copilot at 38a136e

  • Fix sumtype casting bug by using final_sym to get correct symbol index (link)

@lv37 lv37 marked this pull request as draft September 23, 2023 13:53
@lv37 lv37 marked this pull request as ready for review September 24, 2023 12:03
Copy link
Member

@spytheman spytheman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent work.

@spytheman spytheman merged commit 245f8e3 into vlang:master Sep 26, 2023
46 checks passed
Wertzui123 pushed a commit to Wertzui123/v that referenced this pull request Oct 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Alias to sum type with enum builder error
2 participants